package com.mmall.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: hps
 * @Description:
 * @Date: Created in 20:06 2018/7/19
 */
public interface IFileService {

    /**
     * 文件上传
     * @param file 用户上传的文件
     * @param path 文件保存的路径
     * @return
     */
    String upload(MultipartFile file, String path);
}
